import request from '@/utils/request'
// 查询 租户列表
export function selectTenant (data) {
  return request({
    url: '/tenant/select',
    method: 'post',
    data: data
  })
}
export function addTenant (data) {
  return request({
    url: '/tenant/add',
    method: 'delete'
  })
}
export function deleteTenant (data) {
  return request({
    url: '/tenant/delete',
    method: 'post',
    data: data
  })
}
export function updateTenant (data) {
  return request({
    url: '/tenant/update',
    method: 'post',
    data: data
  })
}
